<?php
// @formatter:off
/**
 * @file s.login.php
 * @author Alejandro Dario Simi
 * @date $Date: 2013-06-16 23:56:49 +0000 (Sun, 16 Jun 2013) $
 *
 * $Id: s.login.php 73 2013-06-16 23:56:49Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/tags/wcomix-1.0/themes/default/controlers/simplecontainer/s.login.php $
 */
// @formatter:on

if(defined('__SIMPLE_CONTAINER__')) {
	if($wcProfile->allowedTo(WC_PERM_USER_LOGIN)) {
		$wcThemeAssigns['ACTIONCONTENT'] = "/simplecontainer/s.login.html";
	} else {
		$wcThemeAssigns["error-string"] = "You're not allowed to sign in";
		require "{$this->_themeRoot}/controlers/contents/c.403.php";
	}
}
?>